<ui:composition xmlns="http://www.w3.org/1999/xhtml"
	xmlns:h="http://java.sun.com/jsf/html"
	xmlns:f="http://java.sun.com/jsf/core"
	xmlns:ui="http://java.sun.com/jsf/facelets"
	template="template.xhtml">
	
  <ui:define name="content">
		<h:messages showDetail="true"/>
		<h:form>
			<h:panelGrid columns="2">
				<h:outputLabel for="format" value="Format"></h:outputLabel>
				<h:selectOneMenu id="format" value="#{createMovie.movie.format}">
					<f:selectItem itemLabel="DVD" itemValue="DVD" />
					<f:selectItem itemLabel="BLU-RAY" itemValue="BLURAY" />
				</h:selectOneMenu>
			</h:panelGrid>
			<h:commandButton value="Next" action="confirmNewMovie"></h:commandButton>
		</h:form>
  </ui:define>
  
</ui:composition>